package GetOffEr;

import spaceCraft.Engine;

/**
 * GetOffMode implementation using AutoPilot
 */
public class GetOffUnderAutoPilot implements GetOffMode {

    public String getOff(Engine engine) {

        if (engine.isInWorkCondition()) {
            return "Auto-get off..This garbage-can is doing everything for you!";
        } else {
            return "Engine is broken..Next time I should check it first..";
        }
    }
}
